function Person() {}
Person.prototype.say = function() {
	console.log('good morning!');
}
let person = new Person()
console.log(person instanceof Person);
person.say()


function* Student() {}
Student.prototype.say = function() {
	console.log('good afternoon!');
}

let student = Student()
console.log(student instanceof Student);
student.say()


let test = new Student()
console.log(test instanceof Student); //TypeError: Student is not a constructor
